using System;
using System.Runtime.InteropServices;
namespace SHDocVw
{
	[ClassInterface(ClassInterfaceType.None), TypeLibType(TypeLibTypeFlags.FHidden)]
	public sealed class DWebBrowserEvents_SinkHelper : DWebBrowserEvents
	{
		public DWebBrowserEvents_BeforeNavigateEventHandler m_BeforeNavigateDelegate;
		public DWebBrowserEvents_NavigateCompleteEventHandler m_NavigateCompleteDelegate;
		public DWebBrowserEvents_StatusTextChangeEventHandler m_StatusTextChangeDelegate;
		public DWebBrowserEvents_ProgressChangeEventHandler m_ProgressChangeDelegate;
		public DWebBrowserEvents_DownloadCompleteEventHandler m_DownloadCompleteDelegate;
		public DWebBrowserEvents_CommandStateChangeEventHandler m_CommandStateChangeDelegate;
		public DWebBrowserEvents_DownloadBeginEventHandler m_DownloadBeginDelegate;
		public DWebBrowserEvents_NewWindowEventHandler m_NewWindowDelegate;
		public DWebBrowserEvents_TitleChangeEventHandler m_TitleChangeDelegate;
		public DWebBrowserEvents_FrameBeforeNavigateEventHandler m_FrameBeforeNavigateDelegate;
		public DWebBrowserEvents_FrameNavigateCompleteEventHandler m_FrameNavigateCompleteDelegate;
		public DWebBrowserEvents_FrameNewWindowEventHandler m_FrameNewWindowDelegate;
		public DWebBrowserEvents_QuitEventHandler m_QuitDelegate;
		public DWebBrowserEvents_WindowMoveEventHandler m_WindowMoveDelegate;
		public DWebBrowserEvents_WindowResizeEventHandler m_WindowResizeDelegate;
		public DWebBrowserEvents_WindowActivateEventHandler m_WindowActivateDelegate;
		public DWebBrowserEvents_PropertyChangeEventHandler m_PropertyChangeDelegate;
		public int m_dwCookie;
		public override void BeforeNavigate(string uRL, int flags, string targetFrameName, ref object postData, string headers, ref bool cancel)
		{
			if (this.m_BeforeNavigateDelegate != null)
			{
				this.m_BeforeNavigateDelegate(uRL, flags, targetFrameName, ref postData, headers, ref cancel);
				return;
			}
		}
		public override void NavigateComplete(string uRL)
		{
			if (this.m_NavigateCompleteDelegate != null)
			{
				this.m_NavigateCompleteDelegate(uRL);
				return;
			}
		}
		public override void StatusTextChange(string text)
		{
			if (this.m_StatusTextChangeDelegate != null)
			{
				this.m_StatusTextChangeDelegate(text);
				return;
			}
		}
		public override void ProgressChange(int progress, int progressMax)
		{
			if (this.m_ProgressChangeDelegate != null)
			{
				this.m_ProgressChangeDelegate(progress, progressMax);
				return;
			}
		}
		public override void DownloadComplete()
		{
			if (this.m_DownloadCompleteDelegate != null)
			{
				this.m_DownloadCompleteDelegate();
				return;
			}
		}
		public override void CommandStateChange(int command, bool enable)
		{
			if (this.m_CommandStateChangeDelegate != null)
			{
				this.m_CommandStateChangeDelegate(command, enable);
				return;
			}
		}
		public override void DownloadBegin()
		{
			if (this.m_DownloadBeginDelegate != null)
			{
				this.m_DownloadBeginDelegate();
				return;
			}
		}
		public override void NewWindow(string uRL, int flags, string targetFrameName, ref object postData, string headers, ref bool processed)
		{
			if (this.m_NewWindowDelegate != null)
			{
				this.m_NewWindowDelegate(uRL, flags, targetFrameName, ref postData, headers, ref processed);
				return;
			}
		}
		public override void TitleChange(string text)
		{
			if (this.m_TitleChangeDelegate != null)
			{
				this.m_TitleChangeDelegate(text);
				return;
			}
		}
		public override void FrameBeforeNavigate(string uRL, int flags, string targetFrameName, ref object postData, string headers, ref bool cancel)
		{
			if (this.m_FrameBeforeNavigateDelegate != null)
			{
				this.m_FrameBeforeNavigateDelegate(uRL, flags, targetFrameName, ref postData, headers, ref cancel);
				return;
			}
		}
		public override void FrameNavigateComplete(string uRL)
		{
			if (this.m_FrameNavigateCompleteDelegate != null)
			{
				this.m_FrameNavigateCompleteDelegate(uRL);
				return;
			}
		}
		public override void FrameNewWindow(string uRL, int flags, string targetFrameName, ref object postData, string headers, ref bool processed)
		{
			if (this.m_FrameNewWindowDelegate != null)
			{
				this.m_FrameNewWindowDelegate(uRL, flags, targetFrameName, ref postData, headers, ref processed);
				return;
			}
		}
		public override void Quit(ref bool cancel)
		{
			if (this.m_QuitDelegate != null)
			{
				this.m_QuitDelegate(ref cancel);
				return;
			}
		}
		public override void WindowMove()
		{
			if (this.m_WindowMoveDelegate != null)
			{
				this.m_WindowMoveDelegate();
				return;
			}
		}
		public override void WindowResize()
		{
			if (this.m_WindowResizeDelegate != null)
			{
				this.m_WindowResizeDelegate();
				return;
			}
		}
		public override void WindowActivate()
		{
			if (this.m_WindowActivateDelegate != null)
			{
				this.m_WindowActivateDelegate();
				return;
			}
		}
		public override void PropertyChange(string property)
		{
			if (this.m_PropertyChangeDelegate != null)
			{
				this.m_PropertyChangeDelegate(property);
				return;
			}
		}
		internal DWebBrowserEvents_SinkHelper()
		{
			this.m_dwCookie = 0;
			this.m_BeforeNavigateDelegate = null;
			this.m_NavigateCompleteDelegate = null;
			this.m_StatusTextChangeDelegate = null;
			this.m_ProgressChangeDelegate = null;
			this.m_DownloadCompleteDelegate = null;
			this.m_CommandStateChangeDelegate = null;
			this.m_DownloadBeginDelegate = null;
			this.m_NewWindowDelegate = null;
			this.m_TitleChangeDelegate = null;
			this.m_FrameBeforeNavigateDelegate = null;
			this.m_FrameNavigateCompleteDelegate = null;
			this.m_FrameNewWindowDelegate = null;
			this.m_QuitDelegate = null;
			this.m_WindowMoveDelegate = null;
			this.m_WindowResizeDelegate = null;
			this.m_WindowActivateDelegate = null;
			this.m_PropertyChangeDelegate = null;
		}
	}
}
